<?php

class imagesComponents extends sfComponents {
	public function executeTemplatePartForEntry(sfWebRequest $request){
		$this->images=null;
		if (!empty($this->entry)){
			$this->images=Doctrine::getTable("EntryImage")->retrieveListByEntryIdForBackend($this->entry->getId());
		}
	}

}
